package com.iguo.news.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iguo.news.entity.New;
import com.iguo.news.entity.NewScore;
import com.iguo.news.entity.NewWithScore;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author iguo
 * @date 2025/5/15 20:07
 */
@Service
public interface NewScoreService extends IService<NewScore> {

  List<New> recommend(String userId);

  boolean updateScore(NewScore newScore);
  List<NewWithScore> getNewWithScoreByUserId(Integer userId);
}
